package org.budo.weixin.work.api.entity;

import java.util.List;
import java.util.Map;

/**
 * @author lmw
 */
public interface ApprovalDetail {
    String STATU_1 = "1"; // 1-提单

    String STATU_6 = "6"; // 6-撤销

    String STATU_2 = "2"; // 2-同意

    String STATU_3 = "3"; // 3-驳回

    String STATU_4 = "4"; // 4-转审

    String STATU_5 = "5"; // 5-催办

    String STATU_8 = "8"; // 8-通过后撤销

    String STATU_10 = "10"; // 10-添加备注

    String STATU_999 = "999"; // 手动同步状态

    List<Map<String, Object>> getApplyDataMapList();

    String getRequestBody();

    String getTemplateId();

    String getSpName();

    String getStatuChangeEvent();

    String getSpNo();

    List<String> getSpRecordApproverUserIdList();

    Boolean allAgreed();

    Boolean anyReject();

    SpRecordDetail getLastSpRecordDetailProcessed();

    String getApplyerUserId();

    Integer getSpRecordSize();

    List<SpRecord> getSpRecords();
}